package dongshi.daddy.facade;

public class Lamp {
    // 开关装填，0 开 1 关
    private int onOff;
    private String name;

    public Lamp() {}

    public Lamp(int onOff, String name) {
        this.onOff = onOff;
        this.name = name;
    }

    public int getOnOff() {
        return onOff;
    }

    public void setOnOff(int onOff) {
        this.onOff = onOff;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
